import type { RouteRecordRaw } from "vue-router";
import { allComponent } from "../routes";

/**
 * notFoundRouter(找不到路由)
 */
export const notFoundRouter: RouteRecordRaw = {
  path: "/:pathMatch(.*)*",
  name: "notFound",
  meta: {
    title: "通配页",
    open: true,
    hidden: false,
    target: "_blank",
    isLeaf: true,
    icon: "",
  },
  redirect: { name: "404" },
  component: allComponent.get("PersonalIndex"),
};
